AddHandler server-parsed .htm
AddHandler server-parsed .html
AddType video/x-flv.flv flv

RedirectMatch temp ^/art/$ http://thedesignspace.net/art/gallery/
RedirectMatch temp ^/art/gallerypix/album02/$ http://thedesignspace.net/art/gallery/graffiti/
RedirectMatch temp ^/art/gallerypix/$ http://thedesignspace.net/art/gallery/
RedirectMatch temp ^/art/etching/$ http://thedesignspace.net/art/gallery/etching/

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 58.65.239.170
deny from 65.55.209.149
deny from 91.121.9.61
deny from 70.88.242.241
deny from 67.170.131.76
deny from 200.42.228.234
deny from 203.69.39.251
deny from 24.211.211.194
deny from 72.187.132.166
deny from 210.42.140.5
deny from 208.106.76.220
deny from 208.53.131.190
deny from 85.31.186.224
deny from 212.42.236.140
deny from 196.35.158.180
deny from 67.110.67.231
deny from 203.213.211.206
deny from 164.100.42.162
deny from 217.174.98.198
deny from 58.65.238.115
deny from 85.255.116.133
deny from 210.188.201.68
deny from 85.255.112.87
deny from 216.188.26.237
deny from 85.255.119.218
########## Begin - Rewrite rules to block out some common exploits
# 
#RewriteEngine on
#RewriteCond %{QUERY_STRING} http[:%] [NC]
RewriteRule .* /------------http----------- [F,NC]
RewriteRule http: /---------http----------- [F,NC]
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# ellen added:
RewriteCond %{QUERY_STRING} UNION [OR]
RewriteCond %{QUERY_STRING} union [OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
 RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})

# Send all blocked request to homepage with 403 Forbidden error!

 RewriteRule ^(.*)$ index.php [F,L]
# 
########## End - Rewrite rules to block out some common exploits

 ErrorDocument 404 /403.shtml

Options All -Indexes
